package com.yiren.manager.form.cost;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrNursingCostRecordForm extends GenericForm{

	private static final long serialVersionUID = 769704049664555058L;

	private String nursingCostRecordId;

	private String beHospitalId;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date costDate;

	private Float  costMoney;

	private Integer costStatus;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderCardId;

	private String elderId;

	private String elderName;

	private String nursingDesc;

	private String nursingCostId;

	public String getNursingCostRecordId() {
		return nursingCostRecordId;
	}

	public void setNursingCostRecordId(String nursingCostRecordId) {
		this.nursingCostRecordId = nursingCostRecordId;
	}

	public String getBeHospitalId() {
		return beHospitalId;
	}

	public void setBeHospitalId(String beHospitalId) {
		this.beHospitalId = beHospitalId;
	}

	public Date getCostDate() {
		return costDate;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCostDate(Date costDate) {
		this.costDate = costDate;
	}

	public Float getCostMoney() {
		return costMoney;
	}

	public void setCostMoney(Float costMoney) {
		this.costMoney = costMoney;
	}

	public Integer getCostStatus() {
		return costStatus;
	}

	public void setCostStatus(Integer costStatus) {
		this.costStatus = costStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}
	
	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderCardId() {
		return elderCardId;
	}

	public void setElderCardId(String elderCardId) {
		this.elderCardId = elderCardId;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public String getNursingDesc() {
		return nursingDesc;
	}

	public void setNursingDesc(String nursingDesc) {
		this.nursingDesc = nursingDesc;
	}

	public String getNursingCostId() {
		return nursingCostId;
	}

	public void setNursingCostId(String nursingCostId) {
		this.nursingCostId = nursingCostId;
	}

}
